package com.shimao.celnet.payment.service;

import com.shimao.celnet.payment.form.BHouseForm;
import com.shimao.celnet.payment.model.BHouse;

import java.util.List;

/**
 *房源查看service
 * Created by ensure on 2017/12/5.
 */
public interface BHouseService extends IService<BHouse>{
    /**
     * 最新的分页查询方法
     * @param formBean
     * @param pageNum
     * @param length
     * @return
     */
    BHouseForm getByPage(BHouseForm formBean, int pageNum, int length);

    /**
     * 根据SF-GUID取得
     * @param sfGuid
     * @return
     */
    BHouseForm getBySfGuid(String sfGuid);

    /**
     * 含有该房间名字的所有guid
     * @return
     */
    List<String> findhourceGuid(String houseName);
}
